export const onSave = (CallBack:Function) => {
    window.addEventListener("keydown", (e: KeyboardEvent) => {
        if (e.ctrlKey && e.code == 'KeyS') {
            e.preventDefault()
            CallBack()
        }
    })
}